package com.kuqi.entitiy;

import java.io.Serializable;

// 书籍的实体类（系统自动生成的，所以看上去很乱）
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;

    private String bookName;//书名

    private String thumbnail;//封面图片（图片地址）

    private String describe;//简介

    private String author;//作者

    private int bookType;//类型 1=言情 2=穿越 3=名著 4=网游

    private String updateDate;//更新时间(日期字符串)


    public Book(int id, String bookName, String thumbnail, String describe, String author, int bookType, String updateDate) {
        this.id = id;
        this.bookName = bookName;
        this.thumbnail = thumbnail;
        this.describe = describe;
        this.author = author;
        this.bookType = bookType;
        this.updateDate = updateDate;
    }

    public Book(){}

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getBookType() {
        return bookType;
    }

    public void setBookType(int bookType) {
        this.bookType = bookType;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }
}
